using System;
using System.Drawing;

namespace WebChart
{
	public class CircleLineMarker : LineMarker
	{
		// Methods
		public CircleLineMarker()
		{
		}

		public CircleLineMarker(int size, Color color, Color borderColor) : base(size, color, borderColor)
		{
		}

		public override void Render(Graphics graphics, int x, int y)
		{
			graphics.FillEllipse(new SolidBrush(base.Color), x - (base.Size / 2), y - (base.Size / 2), base.Size, base.Size);
			graphics.DrawEllipse(new Pen(base.BorderColor, 0f), x - (base.Size / 2), y - (base.Size / 2), base.Size, base.Size);
		}
	}
}
